<%@ page import="com.bafa.objects.season.Season" %>
<%@ page import="com.bafa.objects.season.Division" %>
<%@ page import="com.bafa.objects.team.Team" %>
<%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
<%@ page import="com.bafa.objects.team.TeamStats" %>
<%@ page import="com.bafa.objects.player.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
<%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="java.util.*" %>

  <%SiteBean siteBean = (SiteBean)session.getAttribute("SITEBEAN");%>

<script  src="script/niftycube.js" type="text/javascript" ></script>
	<script>
	NiftyLoad=function(){
	     

 Nifty("ul#teamdetails h3","top");
Nifty("ul#teamdetails div","bottom same-height");
Nifty("ul#new h3","top");
Nifty("ul#new div","bottom same-height");
Nifty("ul#old h3","top");
Nifty("ul#old div","bottom same-height");


}
</script>

<style>

	
	ul#teamdetails,ul#teamdetails li{margin:0;padding:0;list-style:none}
		ul#teamdetails li{float:left;width:255px;margin:0 10px 10px 0}
		ul#teamdetails h3{font: bold  Verdana,sans-serif;
		    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
		ul#teamdetails p{margin:0;padding:5px 8px 15px}
		ul#teamdetails div{background:#<%=siteBean.getDivbackground()%>}
	li#teamdetails div{border:2px solid #D2D2D2}
	
	ul#new,ul#new li{margin:0;padding:0;list-style:none}
			ul#new li{float:left;width:255px;margin:0 10px 10px 0}
			ul#new h3{font: bold  Verdana,sans-serif;
			    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
			ul#new p{margin:0;padding:5px 8px 15px}
			ul#new div{background:#<%=siteBean.getDivbackground()%>}
	li#new div{border:2px solid #D2D2D2}
	ul#old,ul#old li{margin:0;padding:0;list-style:none}
				ul#old li{float:left;width:450px;margin:0 10px 10px 0}
				ul#old h3{font: bold  Verdana,sans-serif;
				    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
				ul#old p{margin:0;padding:5px 8px 15px}
				ul#old div{background:#<%=siteBean.getDivbackground()%>}
	li#old div{border:2px solid #D2D2D2}
</style>


<form action="addteam.bafa" name="details" method="post">
<ul id="teamdetails">
  	  		<li id="teamdetails"><h3 class="avlh">Add a team</h3>
  	      
    <div>

 	
     <table width="252" border="0" class="bafatablesmall">
      
      <tr >
               <td ><strong>Team Name </strong></td>
               <td ><input type="text" name="name" value=""/></td>
       </tr>
       <tr >
         <td ><strong>First Contact </strong></td>
         <td ><input type="text" name="contactName1" value=""/></td>
       </tr>
       <tr >
         <td ><strong>First Contact Email </strong></td>
         <td><input type="text" name="contactEmail1" value=""/></td>
       </tr>
       <tr>
         <td ><strong>First Contact Tel </strong></td>
         <td ><input type="text" name="contactTel1" value=""/></td>
       </tr>
       <tr >
         <td ><strong>Second Contact </strong></td>
         <td ><input type="text" name="contactName2" value=""/></td>
       </tr>
       <tr >
         <td ><strong>Second Contact Email </strong></td>
         <td ><input type="text" name="contactEmail2" value=""/></td>
       </tr>
       <tr>
         <td ><strong>Second Contact Tel </strong></td>
         <td ><input type="text" name="contactTel2" value=""/></td>
       </tr>
       <tr>
         <td ><strong>Shirt Colour </strong></td>
         <td ><input type="text" name="shirtColour" value=""/></td>
       </tr>
       <tr>
		<td ><strong>Venue </strong></td>
		<td ><input type="text" name="venue" value=""/></td>
       </tr>
      
 	  <tr >
         <td colspan="2"><input class='leftbutton' type='submit' name='submit' value='Update' /></td>
 		</tr>
     </table>
	
  </div>
  
  </li>
  </ul>
  </form>
  <form>
  <ul id="new"><li id="new"><h3 class="avlh">Add many teams</h3>
  <div>
  
  	<p>Step 1: Download <a href="teams.xls">teams.xls</a>. This may have changed since the last time you used it, so make sure you download the new one</p>
  	<p>Step 2: Fill in the details. Do not change the format in any way.</p>
  	<p>Step 3: Upload the spreadsheet. We'll do the rest.</p>
  </div>
  </li>
  </ul>
  </form>
  <form action="master?page=createteams" enctype="multipart/form-data" id="upload" method="post">
  <ul id="old"><li id="old"><h3 class="avlh">Upload</h3>
  <div>
  
  	
  				<p><input id="userfile" name="userfile" size="45" type="file" /><input name="upload" type="submit" value="Upload File" /><br /></p>
  	
  	
  	
  	
  		
  </div>
  </li>
  </ul>
</form>

